
import random as r

list = []
for i in range(12):
    list.append(r.randint(0, 1))
print("亮灯情况为：", ''.join(list))
num = r.randint(0, 11)
print("你打到了第", num, "个灯")
if int(list[num]) == 1:
    print("游戏结果 true")
else:
    print("游戏结果 false")





